package com.freeter.modules.user.dao;

import com.freeter.modules.user.entity.UsersEntity;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import java.util.List;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;

import org.apache.ibatis.annotations.Param;
import com.freeter.modules.user.entity.vo.UsersVO;
import com.freeter.modules.user.entity.view.UsersView;


/**
 * 用户基础信息表
 *
 * @author xuchen
 * @email 171998110@qq.com
 * @date 2019-04-07 16:11:14
 */
 @SuppressWarnings({"unchecked","rawtypes"})
public interface UsersDao extends BaseMapper<UsersEntity> {

	List<UsersVO> selectListVO(@Param("ew") Wrapper<UsersEntity> wrapper);

	UsersVO selectVO(@Param("ew") Wrapper<UsersEntity> wrapper);


	List<UsersView> selectListView(@Param("ew") Wrapper<UsersEntity> wrapper);

	List<UsersView> selectListView(Pagination page, @Param("ew") Wrapper<UsersEntity> wrapper);

	UsersView selectView(@Param("ew") Wrapper<UsersEntity> wrapper);
}
